package com.yy.mybatis.dao;

import com.yy.mybatis.entity.Person;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PersonMapper {
    Integer insertPerson(Person person);
    Integer updatePerson(Person person);
    Person queryPersonById(@Param("id") Integer id);
    Integer deletePersonById(@Param("id") Integer id);
}
